package jungsun;
  //프로그햄결과
public class J06Ch0309LoopResult {
     public static void main(String[]args){
    	 int i,j;
    	 int sum=0;
    	 
    	 loop:
     for(i=1;i<=30;i++){
    	 for (j=1;j<=24;j++){
    		 sum++;
    		 if (sum==100){
    	System.out.print(i + "일째"+j+"시까지 누적된시간이" +sum+"시간입니다");
    	     break;
    		 }
    	 }
     }		 
     }
}
